Skip to content

Quadratic forms#34

Merged
JoeyT1994 merged 13 commits intomainfrom
QuadraticForms
Oct 28, 2025
Merged

Quadratic forms#34
JoeyT1994 merged 13 commits intomainfrom
QuadraticForms

Conversation

@JoeyT1994
Copy link
Owner

This PR implements a QuadraticForm type. Helpful for computing expectation values with loop corrections and doing DMRG etc

function loopcorrected_partitionfunction(
bp_cache::BeliefPropagationCache,
max_configuration_size::Int64,
max_configuration_size::Int,
Copy link
Collaborator

@MSRudolph MSRudolph Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Int is an alias for Int64 (on most machines)
Did you mean Integer?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot I did not realize that, yeah I meant Integer - will change

@JoeyT1994 JoeyT1994 merged commit 156c863 into main Oct 28, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants